package cn.com.miao.lynx.plugin.mail.service;

import cn.com.miao.lynx.common.core.excpetion.LynxException;
import cn.com.miao.lynx.plugin.mail.model.MailRequest;
import cn.com.miao.lynx.plugin.mail.model.MailResponse;

/**
 * MailService
 *
 * @title: MailService
 * @description:
 * @author: dengmiao
 * @create: 2020-01-10 14:21
 **/
public interface MailService {

    /**
     * Send Mail
     * @param apiBootMailRequest Send Mail Request Entity
     * @return Send Mail Response Entity
     * @throws LynxException Exception
     */
    MailResponse send(MailRequest apiBootMailRequest) throws LynxException;
}
